TOP = .
include $(TOP)/build/common.mk

SUBDIRS = build
INSTDIRS = $(TARGET_OS)

all:
	@for subdir in $(SUBDIRS); do \
		$(MAKE) -C $$subdir; \
	done

clean:
	@for subdir in $(SUBDIRS); do \
		$(MAKE) -C $$subdir clean; \
	done

install:
	@for instdir in $(SUBDIRS); do \
		echo "Installing software in $$instdir"; \
		$(MAKE) -C $$instdir install; \
	done